<template>
	<view>
		<qf-image-cropper :width="767" :height="1365" @crop="handleCrop"></qf-image-cropper>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		// 比例3:4 1023.75:1365  9:16 767:1365
		handleCrop(e) {
			console.log(e.tempFilePath);
			uni.previewImage({
				urls: [e.tempFilePath],
				current: 0,
			});
		},
	},
};
</script>

<style lang="scss"></style>
